]> dgit.raspbian.org Git - vtk9.git/commitdiff
Lower optimization to -O1 on alpha to fix FTBFS
authorDominique Belhachemi <domibel@debian.org>
Tue, 30 Sep 2025 17:05:17 +0000 (13:05 -0400)
committerDominique Belhachemi <domibel@debian.org>
Tue, 30 Sep 2025 17:05:17 +0000 (13:05 -0400)
debian/changelog
debian/rules

index 684cd17ebc349edfc704718e80f14cc388115c6e..650eb5aae5d26c7514cf417745826bc6e290e021 100644 (file)
@@ -2,6 +2,7 @@ vtk9 (9.5.2+dfsg2-1~exp3) UNRELEASED; urgency=medium
 
   * Team upload
   * Add PPC64 patch
+  * Lower optimization to -O1 on alpha to fix FTBFS
 
  -- Dominique Belhachemi <domibel@debian.org>  Tue, 30 Sep 2025 12:20:57 -0400
 
index 7f111b13de8f102d09c0238df651748808eb4d05..761b3d7d5c01a681b225253e93adb7b604310351 100755 (executable)
@@ -25,6 +25,11 @@ else
   extra_flags += -DVTK_SMP_IMPLEMENTATION_TYPE:STRING="OpenMP"
 endif
 
+# Work around FTBFS on Alpha (assembler error "No lda !gpdisp!")
+ifneq (,$(filter $(DEB_HOST_ARCH),alpha))
+  export DEB_CXXFLAGS_MAINT_APPEND += -O1
+endif
+
 %:
        dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)